<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>星座测试统计 - 性格分析</title>
    <link rel="stylesheet" href="style.css">
    <!-- 引入Chart.js库 -->
    <script src="chart.js"></script>
    <!-- 引入自定义图表脚本 -->
    <script src="charts.js"></script>
</head>
<body>
    <div class="page">
        <!-- 内容容器 -->
        <div class="content-container">
            <!-- Tab导航 -->
            <div class="tab-bar">
                <div class="tab-container">
                    <a href="PersonalityAnalysis.html" class="tab active">
                        性格
                        <div class="tab-indicator"></div>
                    </a>
                    <a href="LoveCompatibility.html" class="tab">
                        爱情
                        <div class="tab-indicator"></div>
                    </a>
                    <a href="CareerPredisposition.html" class="tab">
                        职业
                        <div class="tab-indicator"></div>
                    </a>
                    <a href="LifestylePatterns.html" class="tab">
                        生活
                        <div class="tab-indicator"></div>
                    </a>
                </div>
            </div>
            <!-- 主内容区 -->
            <main>
                <!-- 头部信息 -->
                <div class="card">
                    <h1>星座性格分析</h1>
                    <p>探索不同星座的性格特征与行为模式</p>
                </div>

                <!-- 星座性格特征雷达图 -->
                <div class="card">
                    <h2>十二星座性格特征雷达图</h2>
                    <div class="chart-container" style="height: 400px;"></div>
                </div>

                <!-- 星座性格统计图表 -->
                <div class="card">
                    <h2>星座主要性格特征分布</h2>
                    <div class="progress-container">
                        <div class="progress-item">
                            <div class="progress-label">外向性</div>
                            <div class="progress-bar">
                                <div class="progress-fill" style="width: 100%; background: linear-gradient(90deg, #FF6B6B, #FF3B30);"></div>
                            </div>
                            <div class="progress-value" style="color: #FF3B30;">白羊座最高</div>
                        </div>
                        <div class="progress-item">
                            <div class="progress-label">宜人度</div>
                            <div class="progress-bar">
                                <div class="progress-fill" style="width: 95%; background: linear-gradient(90deg, #4ECDC4, #45B7D1);"></div>
                            </div>
                            <div class="progress-value" style="color: #45B7D1;">天秤座最高</div>
                        </div>
                        <div class="progress-item">
                            <div class="progress-label">尽责性</div>
                            <div class="progress-bar">
                                <div class="progress-fill" style="width: 90%; background: linear-gradient(90deg, #96CEB4, #6AB04C);"></div>
                            </div>
                            <div class="progress-value" style="color: #6AB04C;">处女座最高</div>
                        </div>
                        <div class="progress-item">
                            <div class="progress-label">神经质</div>
                            <div class="progress-bar">
                                <div class="progress-fill" style="width: 98%; background: linear-gradient(90deg, #DDA0DD, #9370DB);"></div>
                            </div>
                            <div class="progress-value" style="color: #9370DB;">巨蟹座最高</div>
                        </div>
                        <div class="progress-item">
                            <div class="progress-label">开放性</div>
                            <div class="progress-bar">
                                <div class="progress-fill" style="width: 100%; background: linear-gradient(90deg, #87CEFA, #00BFFF);"></div>
                            </div>
                            <div class="progress-value" style="color: #00BFFF;">水瓶座最高</div>
                        </div>
                    </div>
                    
                    <!-- 统计发现 -->
                    <div class="stats-discoveries">
                        <h3>统计发现</h3>
                        <ul>
                            <li><span class="star-fire"></span> 火象星座（白羊、狮子、射手）在"外向性"维度得分显著高于其他星座</li>
                            <li><span class="star-earth"></span> 土象星座（金牛、处女、摩羯）在"尽责性"维度表现突出</li>
                            <li><span class="star-air"></span> 风象星座（双子、天秤、水瓶）在"开放性"维度得分较高</li>
                            <li><span class="star-water"></span> 水象星座（巨蟹、天蝎、双鱼）在"神经质"维度得分普遍偏高</li>
                        </ul>
                    </div>
                </div>

                <!-- 星座性格特点列表 -->
                <div class="card">
                    <h2>星座性格特点</h2>
                    <div class="feature-list">
                        <div class="feature-item">
                            <h3>白羊座</h3>
                            <p>热情、勇敢、冲动、自信、领导力强</p>
                        </div>
                        <div class="feature-item">
                            <h3>金牛座</h3>
                            <p>稳重、务实、执着、有耐心、物质主义</p>
                        </div>
                        <div class="feature-item">
                            <h3>双子座</h3>
                            <p>机智、灵活、善变、好奇、善于沟通</p>
                        </div>
                        <div class="feature-item">
                            <h3>巨蟹座</h3>
                            <p>敏感、情绪化、有爱心、家庭观念强、保护欲强</p>
                        </div>
                        <div class="feature-item">
                            <h3>狮子座</h3>
                            <p>自信、慷慨、领导才能、戏剧性、爱面子</p>
                        </div>
                        <div class="feature-item">
                            <h3>处女座</h3>
                            <p>完美主义、细致、勤奋、分析能力强、挑剔</p>
                        </div>
                    </div>
                </div>
            </main>
        </div>
    </div>
    

</body>
</html>